import React from 'react';
import { renderRoutes } from 'react-router-config';

const Layout = ({ route }) =>{console.log(route);return ( <> { renderRoutes(route.routes) } </>)} 

export default Layout;